% V20210224 - 5.2 GW_ADD_BAR_LBUTTON$ INCLUDE "GW.bas" % Make a page. MainPage = GW_NEW_PAGE() % Prepare title string. Center$ = GW_ADD_BAR_TITLE$("My Program") % Prepare left button string. LeftButton$ = GW_ADD_BAR_LBUTTON$("GET HELP>help") % Add the title bar to the page. GW_ADD_TITLEBAR(MainPage, LeftButton$ + Center$) % Render the page and wait for user action. GW_RENDER(MainPage) DO % Wait for user action. r$ = GW_WAIT_ACTION$() % Place here any necessary code to process user actions. % Example feedback. POPUP r$ % End when BACK key is pressed. UNTIL r$ = "BACK" END "End of GW_ADD_BAR_LBUTTON$ example."